package com.gupaoedu.user;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        IUserService iUserService = new UserServiceImpl();
        RpcProxyServer rpcProxyServer = new RpcProxyServer();
        /**
         * 将iUserService服务发布到8080端口上
         * 即让它暴露在网络端口上
         */
        rpcProxyServer.publisher(iUserService, 8080);
    }
}
